package com.java.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import com.java.model.User;

@Mapper
public interface UserMapper {
	@Select("select * from tbl_user where name like CONCAT('%',#{name,jdbcType=VARCHAR},'%') limit 1;")
	User findUserByName(@Param("name") String name);
}
